﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class ContactInfo : RecordInfo
    {
        private int contact_seq;
        private EmployeeInfo emp_seq;
        private PersonInfo perInfo;
        private MasFamilyHoodInfo fam_seq;
        private AddressInfo contact_address;
        private MasDistrictInfo district_seq;
        private string contact_status;

        public ContactInfo()
        {
        }
        public ContactInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public ContactInfo(int Sequence, EmployeeInfo Employee, PersonInfo Person
            , MasFamilyHoodInfo FamilyHood, AddressInfo Address, MasDistrictInfo District
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Employee = Employee;
            this.Person = Person;
            this.FamilyHood = FamilyHood;
            this.Address = Address;
            this.District = District;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return contact_seq; }
            set { contact_seq = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public PersonInfo Person
        {
            get { return perInfo; }
            set { perInfo = value; }
        }
        public MasFamilyHoodInfo FamilyHood
        {
            get { return fam_seq; }
            set { fam_seq = value; }
        }
        public AddressInfo Address
        {
            get { return contact_address; }
            set { contact_address = value; }
        }
        public MasDistrictInfo District
        {
            get { return district_seq; }
            set { district_seq = value; }
        }
        public string Status
        {
            get { return contact_status; }
            set { contact_status = value; }
        }
    }
}
